﻿using iMES.Entity.SystemModels;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace iMES.Entity.DomainModels
{
    public partial class Ware_Wares: SysEntity
    {
        /// <summary>
        ///仓库主键
        /// </summary>
        [Key]
        [Display(Name = "仓库主键")]
        [Column(TypeName = "uniqueidentifier")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public Guid WareId { get; set; }
        /// <summary>
        ///仓库编号
        /// </summary>
        [Display(Name = "仓库编号")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string WareCode { get; set; }
        /// <summary>
        ///仓库名称
        /// </summary>
        [Display(Name = "仓库名称")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string WareName { get; set; }
        /// <summary>
        ///仓库区域
        /// </summary>
        [Display(Name = "仓库区域")]
        [MaxLength(100)]
        [Column(TypeName = "nvarchar(100)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string AreaId { get; set; }
        /// <summary>
        ///面积
        /// </summary>
        [Display(Name = "面积")]
        [Column(TypeName = "int")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public int WareSqure { get; set; }
        /// <summary>
        ///位置编码
        /// </summary>
        [Display(Name = "位置编码")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string LocationCode { get; set; }
        /// <summary>
        ///负责人
        /// </summary>
        [Display(Name = "负责人")]
        [MaxLength(30)]
        [Column(TypeName = "nvarchar(30)")]
        [Editable(true)]
        public string Creator { get; set; }
        /// <summary>
        ///状态
        /// </summary>
        [Display(Name = "状态")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string WareState { get; set; }
        /// <summary>
        ///备注
        /// </summary>
        [Display(Name = "备注")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string WareNote { get; set; }
        /// <summary>
        ///仓库平面图
        /// </summary>
        [Display(Name = "仓库平面图")]
        [MaxLength(100)]
        [Column(TypeName = "varchar(100)")]
        [Editable(true)]
        public string WareImg { get; set; }

    }
}
